Project Sekai
🔒 UMDCTF 2023 / 🩸-rev-well-connected
Sutx
BOT
04/28/2023 3:00 PM
Well connected - 500 points
Category:
Rev
Description:
I pulled up to a party but they wouldn't let me in until I named 40 functions!
Author:
birch
Files:
https://umdctf.io/files/705afbb98d3281e71a3ee9368e9940f7/well-connected.zip?token=eyJ1c2VyX2lkIjoxNDcsInRlYW1faWQiOjY4LCJmaWxlX2lkIjoxN30.ZExB-w.Xq-3v1zVV1mV5t56DO962l7SDyU
Tags:
No tags.
Sutx
pinned
a message
to this channel.
04/28/2023 3:00 PM
Sutx
BOT
04/28/2023 3:14 PM
@Legoclones
wants to collaborate
Legoclones
04/28/2023 3:16 PM
stripped, dynamically linked ELF
15:16
also 10 mb....
15:19
main function just prints and leaves.... so flag must be found in a function that is never called. So we're looking for a needle in a haystack
15:19
Cuz there's 10 MB of unnamed functions lol
15:23
And they all look like this with a different number of functions and different params
Sutx
BOT
04/28/2023 3:34 PM
@Violin
wants to collaborate
Legoclones
04/28/2023 3:38 PM
Lol you wanna see how many functions are called by each other?
15:38
Answer - all of them
15:38
15:41
over 10000 functions
28983 functions
(edited)
15:41
computer is now frozen
Legoclones
04/28/2023 4:04 PM
Here are the C files from this (courtesy of Ghidra)
final_only_calls.c
17.52 MB
final2.c
17.53 MB
16:08
hahaha just as I expected
16:09
there are 28960 functions in
final_only_calls.c
, and only 28959 are called - we gotta find the last one
16:10
The function that is never called is
FUN_006e347b
16:15
oooooh I'm gonna blood
Legoclones
used /ctf submit
Sutx
BOT
04/28/2023 4:20 PM
Well done, you got first blood!
Exported 20 message(s)